<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盒子模型综合practice1</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        body {
            background-color: #f5f5f5;
        }

        a {
            color: black;
            text-decoration: none;
        }

        .box {
            width: 417px;
            height: 583px;
            background-color: #fff;
            margin: 100px auto;
        }

        .box img {

            /* 使得图片的宽度等于父亲盒子的宽度 */
            width: 100%;
        }

        .par {
            height: 100px;
            font-size: 16px;
            padding: 0 30px;
            margin-top: 30px;
        }

        .pingjia {
            font-size: 14px;
            color: gray;
            padding: 0 28px;
            margin-top: 20px;
        }

        .info {
            font-size: 15px;
            margin-top: 15px;
            padding: 0 28px;
        }

        .info h4 {
            display: inline-block;
            font-weight: 400;
        }

        .info span {
            color: #ff6700;
        }

        .info em {
            font-style: normal;
            color: #ebe4e0;
            margin: 0 6px 0 15px;
        }
    </style>
</head>

<body>
    <div class="box">
        <img src="images/P9image2.png" alt="">
        <p class="par">快递牛，整体不错蓝牙可以说秒连。红米给力</p>
        <div class="pingjia">来自于117384232的评价</div>
        <div class="info">
            <h4><a href="#">Redmi AirDots真无线蓝..</a></h4>
            <em>|</em>
            <span>99.9元</span>
        </div>
        <!-- <p>
            快递牛，整体不错蓝牙可以说秒连。红米给力
        </p>
        <p>
            来自于117384232的评价
        </p>
       
        <table>
            <tr>
                <td>Redmi AirDots真无线蓝...</td>
                <td>99.9元</td>
            </tr>
        </table> -->

    </div>

</body>

</html>